home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / src / POV-Ray Build Extras / TimeStampAllFiles.mpw
Encoding:
Text File  |  1996-07-14  |  554 b   |  18 lines  |  [TEXT/MPS ]

  1. # This simple MPW/Toolserver script will go through the two main
  2. # Source code directories, and set each file's mod date/time to
  3. # today's date, and a fixed time (cheap man's version system.)
  4. # Hint: This would be a cool AppleScript... how do you change
  5. # a file's mod date/time? :-(
  6. # Eduard Schwan
  7. #
  8. cd Projects:Projects:POV:POVRAY3:POV3.Source:MacSource:
  9. set daDate "`date -s -d` 3:00"
  10. for f in ≈.c ≈.h ≈.pch ≈.rsrc
  11.   setfile -m "{daDate}" {f}
  12. end
  13. cd Projects:Projects:POV:POVRAY3:POV3.Source:Source:
  14. for f in ≈.c ≈.h
  15.   setfile -m "{daDate}" {f}
  16. end
  17.  
  18.